@echo off
chcp 65001 >nul
cd /d E:\pycharm_place\lucky_git_42\meiduo_mall
echo [%date% %time%] 开始执行定时任务 >> logs/crontab.log
python manage.py shell -c "from apps.contents.crons import generic_meiduo_index; generic_meiduo_index()" >> logs/crontab.log 2>&1
echo [%date% %time%] 任务执行完成 >> logs/crontab.log
echo. >> logs/crontab.log